Component({
  options: {
    addGlobalClass: true
  },  
  /**
  * 组件的属性列表
  */
 properties: {

 },
 data:{
  tabs:[
    { name: "大于", type: ">" },
    { name: "等于", type: "=" },
    { name: "小于", type: "><" },
  ],
  tab:">",
  type:1
 },
 methods:{
  onChange(event) {
    this.setData({
      radio: event.detail,
    });
  },
  click_tab(e){
    this.setData({
      tab: e.target.dataset.type,
    });
  },
  onClick(event) {
    const { name } = event.currentTarget.dataset;
    this.setData({
      radio: name,
    });
  },
 }
})